package MP
{
	/**
	 * 地图扩展
	 * @author 谭跃文
	 */
	public class MapExpandVO extends MapVO
	{
		public var hasBottomMap:Boolean;
		
		public var bottomMapWidth:int;
		
		public var bottomMapHeight:int;
		
		public var bottomMapCol:int;
		
		public var bottomMapRow:int;
		
		public var bottomTileArray:Array;
		
		public var scaleRateX:Number = 1;
		
		public var scaleRateY:Number = 1;
		/**地图片信息 0:不加载 1:正常 2:遮罩*/
		public var clipsData:Array;
		/**是否远景自动移动的地图*/
		public var isAutoMoveMap:Boolean;
		
		public function MapExpandVO()
		{
			super();
		
		}
		
		public function updateScaleRate(stageW:int, stageH:int):void
		{
			scaleRateX = (bottomMapWidth - stageW) / (mapWidth - stageW);
			scaleRateY = (bottomMapHeight - stageH) / (mapHeight - stageH);
		}
		
		override public function dispose():void
		{
			super.dispose();
		}
	
	}

}